from django.shortcuts import render,redirect
# Create your views here.
import os
def index(requests):
	data = {
		"title":"全屏高端大气网络建站技术开发科技公司",
		"headerData":[{"headerTit":"首页","path":"/homePage"},
				{"headerTit":"服务中心","path":"/serviceCenter"},
				{"headerTit":"客户案例","path":"/customerCase"},
				{"headerTit":"关于我们","path":"/aboutUs"},
				{"headerTit":"联系我们","path":"/contactUs"}],
		"phone":"400-123-8888",
		"course":{
			"zgssn":"走过十四年",
			"through":"Through fourteen years of",
			"internet":"Internet integration experts",
			"lczhzj":"历程的互联网整合专家",
			"htmlType5":[
				{"htmlTit":"手机网站","htmlImg":"/static/images/banner-one1.png","htmlPath":"anli.html"},
				{"htmlTit":"PC网站","htmlImg":"/static/images/banner-one2.png","htmlPath":"anli.html"},
				{"htmlTit":"微信网站","htmlImg":"/static/images/banner-one3.png","htmlPath":"anli.html"}],
			"ygzhsgwz":"一个账户三个网站;三站合一全拥有",
			"djzx":"点击咨询"
		},
		"achievement":[{"cjNum":"5","cjUnit":"星","cjDetails":"数据备份，安全放心"},
			{"cjNum":"15 +","cjUnit":"年","cjDetails":"15年专注网站建设"},
			{"cjNum":"99","cjUnit":"%","cjDetails":"全年在线连通率"},
			{"cjNum":"7 * 24","cjUnit":"小时","cjDetails":"7*24小时,在线答疑 "},
			{"cjNum":"2000","cjUnit":"+","cjDetails":"企业客户共同信赖"}],
		"serverList":["服务领域","SERVICE FIELD","一站式的品牌数字服务体系，助力品牌全流程价值提升"],
		"serverRangeList":[
			{"serverContent":"高端定制网站建设","serverImg":"/static/images/xcx_0.png?2","serverDetails":"提升知名度，获取更多客户","serverContentsInclude":["品牌官网设计","购物商城网站设计","营销型网站建设","H5活动网站","站群","响应试网站"]},
			{"serverContent":"微信小程序开发","serverImg":"/static/images/xcx_1.png?2","serverDetails":"个小程序都能创造价值","serverContentsInclude":["微信小程序","微商城","微分销","微信行业解决方案","微信平台定制化开发","微信运营"]},
			{"serverContent":"移动端设计开发","serverImg":"/static/images/xcx_2.png?2","serverDetails":"roid开发服务团队","serverContentsInclude":["手机端网站","app设计与开发","移动端用户体验设计","智能家居"]},
			{"serverContent":"软件开发","serverImg":"/static/images/xcx_3.png?2","serverDetails":"助企业实现一体化办公","serverContentsInclude":["互联网应用","电商系统","教育教学","仓储物流","企业管理","游戏开发"]},
			{"serverContent":"运营外包 ","serverImg":"/static/images/xcx_4.png?2","serverDetails":"包、节省公司运营成本","serverContentsInclude":["设计年服","运营年服","社区运营","微信运营","活动策划","BMS品牌管理系统"]}],
		"caseShows":["我们已经与一些了不起的企业合作","这里只是一些，点击了解我们所做的工作"],
		"caseShowsList":[
			{"caseShowsName":"长安汽车","caseShowsImg":"/static/images/592ea30378aaa.jpg","theStory":"了解品牌故事"},
			{"caseShowsName":"上境灵岩","caseShowsImg":"/static/images/58f831e1b0e14.jpg","theStory":"了解品牌故事"},
			{"caseShowsName":"豪思科技集团","caseShowsImg":"/static/images/58f81ac177a8d.jpg","theStory":"了解品牌故事"},
			{"caseShowsName":"现代传输杂志","caseShowsImg":"/static/images/58f81b2ae2789.jpg","theStory":"了解品牌故事"},
			{"caseShowsName":"四川驾校网","caseShowsImg":"/static/images/58f81ba0a9402.jpg","theStory":"了解品牌故事"},
			{"caseShowsName":"中荣石化","caseShowsImg":"/static/images/592ea49cdfa9d.png","theStory":"了解品牌故事"},
			{"caseShowsName":"秋金","caseShowsImg":"/static/images/592ea5399affb.png","theStory":"了解品牌故事"},
			{"caseShowsName":"宝钢气体","caseShowsImg":"/static/images/58f83c980cd91.jpg","theStory":"了解品牌故事"},
		],
		"caseShowsLoadMore":"查看更多案例",
		"newsIntroduce":"了解最新动态与行业资讯",
		"newsList":[
			{"newTitle":"XX网承建的重庆荣昌县政务平台网站正式开通","newDes":"XX网承建的重庆荣昌县政务平台网站正式开通","newDateOne":"04-06","newDateYear":"2017"},
			{"newTitle":"网站更新","newDes":"XX网-网站建设更新了，全新改版，希望各位新老顾客多多支持！","newDateOne":"04-06","newDateYear":"2018"},
			{"newTitle":"当”坚持网页设计质量第一”的理念不再是一种口号。","newDes":"一个项目千头万绪，要全面专注似乎不大可能，项目并非是一个标准模块，也非千篇一律，要做好项目品管，十分的艰难，客制化的专案，在未上线前的Bugs ，就像是鞭炮一样，响个不停。","newDateOne":"04-06","newDateYear":"2021"},
		],
		"newsLoadMore":"查看更多新闻",
		"cooperationUser":["我们最大的使命就是让客户的选择变得坚定和正确","为客户创造最大的价值从而实现自己的价值","换一批"],
		"cooperationUserList":[
			{"cooperationUserImg1":"c-logo09.png","cooperationUserImg2":"c-logo01.png"},
			{"cooperationUserImg1":"c-logo08.png","cooperationUserImg2":"c-logo02.png"},
			{"cooperationUserImg1":"c-logo07.png","cooperationUserImg2":"c-logo03.png"},
			{"cooperationUserImg1":"c-logo06.png","cooperationUserImg2":"c-logo04.png"},
			{"cooperationUserImg1":"c-logo05.png","cooperationUserImg2":"c-logo05.png"},
			{"cooperationUserImg1":"c-logo04.png","cooperationUserImg2":"c-logo06.png"},
			{"cooperationUserImg1":"c-logo03.png","cooperationUserImg2":"c-logo07.png"},
			{"cooperationUserImg1":"c-logo02.png","cooperationUserImg2":"c-logo08.png"},
			{"cooperationUserImg1":"c-logo01.png","cooperationUserImg2":"c-logo09.png"}
		],
		"footerDataList":[
			["产品购买","域名注册","云服务器","云空间","虚拟主机","服务器租用","服务器托管","企业邮箱","短信平台"],
			["开发业务","品牌互动网站设计","电子商务网站","政府/门户大型网站","程序开发","Android开发","Ios(iphone/ipad)开发","APP Store发布",],
			["注册/登录","支付方式","帮助中心","提交工单","常用文档下载","产品价格总览","域名注册攻略","如何选择虚拟主机","备案专区",],
			["我们是谁","公司实力","发展历程","XX观点","案例中心","联系我们","招聘信息","资讯中心","全站导航",],
		],
		"addressList":["《中华人民共和国增值电信业务经营许可证 IDC证》编号：89757","公网安备XXXXXXXXXXXXXX号","2019 XX公司--技术支持","开江鱼gty","备案号：ICP备XXXXXXXX号","北京总公司：四川XX在线网络服务有限公司","总公司地址：中国北京环球金融国际中心99F"],
		"qitaOne":["安卓下载","IOS下载","手机XX","全国统一服务热线","海外用户请拨打","010-88888888 66666666"],
		"qitaAll":["7*24小时服务热线","企业QQ咨询","944245073","提交工单","微信公众号"]
		}
	if  requests.session.get('is_login')=="1":
		return render(requests,"aboutUs.html",{"data":data})
	else:
		return redirect('/login')
